<div>

    <div class="ibox ">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="查询条件"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">

            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写订单','productGroupOrderManage')"
                            v-model="productGroupOrderManageInfo.conditions.orderId" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写产品名称','productGroupOrderManage')"
                            v-model="productGroupOrderManageInfo.conditions.prodName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请填写购买者','productGroupOrderManage')"
                            v-model="productGroupOrderManageInfo.conditions.buyerName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" :placeholder="vc.i18n('请选择团长','productGroupOrderManage')"
                            v-model="productGroupOrderManageInfo.conditions.groupBuyerName" class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <select class="custom-select" v-model="productGroupOrderManageInfo.conditions.state">
                        <option selected value="">
                            {{vc.i18n('请选择状态','productGroupOrderManage')}}
                        </option>
                        <option value="1001">
                            {{vc.i18n('拼团成功','productGroupOrderManage')}}
                        </option>
                        <option value="2002">
                            {{vc.i18n('拼团失败','productGroupOrderManage')}}
                        </option>
                        <option value="3003">
                            {{vc.i18n('拼团中','productGroupOrderManage')}}
                        </option>
                    </select>
                </div>
                <div class="col-sm-1">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryProductGroupOrderMethod()">
                        <i class="glyphicon glyphicon-search"></i> <span>
                            <vc:i18n name="查询"></vc:i18n>
                        </span>
                    </button>
                </div>
            </div>

        </div>
    </div>

    <div class="ibox">
        <div class="ibox-title">
            <h5>
                <vc:i18n name="拼团订单" namespace="productGroupOrderManage"></vc:i18n>
            </h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">

            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">
                            <vc:i18n name='订单ID' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">商品图片</th>
                        <th class="text-center">
                            <vc:i18n name='商品名称' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='购买者' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='团长' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='购买数量' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='拼团人数' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='拼团金额' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='状态' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='返佣金额' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='开团时间' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='拼团时间' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                        <th class="text-center">
                            <vc:i18n name='截止时间' namespace='productGroupOrderManage'></vc:i18n>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="productGroupOrder in productGroupOrderManageInfo.productGroupOrders">
                        <td class="text-center">{{productGroupOrder.orderId}}</td>
                        <td class="text-center">
                            <div style="position: relative; display: inline-block;">
                                <img width="50" height="50" style="border-radius: 10px;"
                                    :src="productGroupOrder.coverPhoto" v-if="productGroupOrder.coverPhoto">
                                <img width="50" height="50" style="border-radius: 10px;" src="/img/noPhoto.jpg" v-else>
                            </div>
                        </td>
                        <td class="text-center">
                            【{{productGroupOrder.userCount}}人团】{{productGroupOrder.prodName}}</td>
                        <td class="text-center">{{productGroupOrder.buyerName}}</td>
                        <td class="text-center">{{productGroupOrder.groupBuyerName}}</td>
                        <td class="text-center">{{productGroupOrder.buyerCount}}</td>
                        <td class="text-center">{{productGroupOrder.groupCount}}/{{productGroupOrder.userCount}}
                        </td>
                        <td class="text-center">{{productGroupOrder.groupPrice}}</td>
                        <td class="text-center">{{productGroupOrder.stateName}}</td>
                        <td class="text-center">{{productGroupOrder.rebateAmount}}</td>
                        <td class="text-center">{{productGroupOrder.openTime}}</td>
                        <td class="text-center">{{productGroupOrder.createTime}}</td>
                        <td class="text-center">{{productGroupOrder.endTime}}</td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>

    </div>

</div>